<div class="center_title_bar">Latest Products</div>
<?php foreach($items as $item):?>
      <div class="prod_box">
        <div class="center_prod_box">
          <div class="product_title"><?php echo $item->name;?></div>
          <div class="product_img"><?php echo Html::Image('images/thumbs/'.$item->image->thumb->filename);?></div>
         <div class="prod_price"> 
         <?php if($item->promotion_price() == $item->price):?> 
          <span class="price"><?php echo money_format('%n', $item->price);?></span>
         <?php else:?>
          <span class="reduce"><?php echo money_format('%n', $item->price);?></span>
          <span class="price"><?php echo money_format('%n', $item->promotion_price());?></span>
         <?php endif;?>
        </div>
        </div>
        <div class="prod_details_tab"> <?php echo Html::anchor('item/item/sitem/'.$item->id, 'Details');?> </div>
      </div>
<?php endforeach;?>